package com.wfs.aoawlms.service;

import com.wfs.aoawlms.pojo.Log;
import com.wfs.aoawlms.pojo.PageBean;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;

public interface LogService {
    void logtest();

    //List<Log> list(String name,String region_name);
    int getRegionId(String region_name);
    Log addLog(Log log,int region_id);

    void deleteLog(Integer logId);

    Log editLog(Log log, int region_id);

    int getLogId(String name,String description,String solution,Boolean isSolved);

    PageBean page(Integer page, Integer pageSize,String problem_type,String name);

    void upload(MultipartFile file, int logId) throws IOException;
}
